package com.starblink.web.process

import com.blankj.utilcode.util.ProcessUtils
import com.google.gson.Gson
import com.google.gson.JsonObject
import com.starblink.web.IBridgeInvokeWebProcess
import com.starblink.web.util.WebLog

//通知中转站
class FlowBusBridge: IBridgeCommand {
    private val TAG="IBridgeCommand"
    override fun exec(params: JsonObject?, callback: IBridgeInvokeWebProcess?) {
        WebLog.d(TAG,"${ProcessUtils.getCurrentProcessName()} --- $params")
        params?.let {
            val flowBusEvent=it.get("flowBusEvent").asString
            val params=Gson().toJson(it.get("params")?:"")
            val gson=Gson()

        }
    }
}